<script>
import { userService } from './services/userService';

export default {
	onLaunch: function () {
		console.log('App Launch');
		// 初始化用户服务
		userService.init();
	},
	onShow: function () {
		console.log('App Show');
	},
	onHide: function () {
		console.log('App Hide');
	}
}
</script>

<style>
	/*每个页面公共css */
	/* 导入图标字体样式 */
	@import './static/iconfont.css';
	
	/* 全局样式 */
	page {
		font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
		font-size: 28rpx;
		line-height: 1.5;
		color: #333;
		background-color: #f8f8f8;
	}
	
	/* 移除按钮默认样式 */
	button {
		background-color: transparent;
		padding: 0;
		margin: 0;
		line-height: 1;
		border-radius: 0;
		border: none;
		outline: none;
	}
	
	button::after {
		border: none;
	}
</style>
